<template>
  <div style="width: 100%; height: 100%;">
    <iframe  :src="iframeUrl" width="100% " height="100% ">
    </iframe>
  </div>
</template>
<script>
export default {
  data() {
    return {
      is_firstIframe: true,
      FactoryId: '',
      iframeUrl: '',
      FactoryId: "",
    }
  },
  created() {
    setTimeout(() => {
      let url = 'http://20.47.197.138:13500/#/apimap?factoryId='
      let FactoryId = sessionStorage.getItem('FactoryId')
      this.iframeUrl = url + FactoryId
      console.log(this.iframeUrl, '看一下gis图的地址');
    }, (200));

  },

  mounted() {
  },

  methods: {
  }
}

</script>

<style lang="scss" scoped></style>